﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PerchaseInfo.aspx.cs" Inherits="Web.PerchaseInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta content="ie=7" http-equiv="x-ua-compatible">
    <link href="Styles/Style01.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="Form1" runat=server>
<table class="s1">
<tr><td>表单编号</td><td><%=reqPerchaseMain.FormNo%></td><td>申请时间</td><td><%=reqPerchaseMain.ReqDate.ToString("yyyy-MM-dd HH:mm:ss")%></td></tr>
<tr><td>申请人</td><td><%=empName%></td><td>申请费用</td><td><%=reqPerchaseMain.Cost%></td></tr>
<tr><td>申请备注</td><td colspan=3><%=reqPerchaseMain.Cause%></td></tr>
</table>
<asp:Repeater ID="rptList" EnableViewState="false" Runat="server">
	<HeaderTemplate>
		<table id="tbDetail" class="s1 list">
			<caption>采购明细<input type=button onclick="javascript:detailEdit();" value="添加明细"/></caption>
			<thead>
				<TR>
					<th>物品名称</th>
					<th width="15%">型号</th>
					<th width="15%">规格</th>
					<th width="10%">单价</th>
					<th width="10%">单位</th>
					<th width="10%">数量</th>
				</TR>
			</thead><tbody>
	</HeaderTemplate>
	<ItemTemplate>
		<tr class="<%# Container.ItemIndex%2==0?"bg":""%>">
			<td><%#Eval("GoodsName")%></td>
			<td><%#Eval("Model")%></td>
			<td><%#Eval("Specification")%></td>
			<td><%#Eval("PerPrice")%></td>
			<td><%#Eval("Unit")%></td>
			<td><%#Eval("Number")%></td>
		</tr>
	</ItemTemplate>
	<FooterTemplate>
		</tbody> </table>
	</FooterTemplate>
</asp:Repeater>
</form>
</body>
</html>